#include "Controller.hpp"
#include "FL/Fl.H"
#include "MeshAlgorithm.hpp"
#include "MeshLoader.hpp"
#include "MeshView.hpp"

int main(int   argc,
         char* argv[])
{
   Controller::GetInstance();
   //MeshView* mv = new MeshView;
   //MeshLoader::Load(*mv, "test_crease.obj");
   //std::vector<int> sel;
   //sel.push_back(3);
   //std::list<std::pair<RegionInterface, IndexList> > ans;
   //MeshAlgorithm::FindCycles(mv->mMesh, sel, ans);
   //mv->mMesh.UpdateRegionCreases();
   //MeshAlgorithm::EdgeCycleList cycles;
   //MeshAlgorithm::FindCycles(*mv->mMesh.crease_edges, 10000, cycles);

   Fl::run();
}